package com.ruoyi.client.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.client.domain.entity.BlogOper;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMapping;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@AutoMapper(target = BlogOper.class)
public class OperVo {
    private Long id;
    private String title;
    private String subTitle;
    private String icon;
    private String url;
    private String description;
    private String timeString;
    private String targetAuthorName;
    private String targetName;
    private String targetStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
